import { request } from "./request";

export function getHomeMultidata() {
  return request({
    url: "/home/multidata",
  });
}

export function getHomeGoods(type, page) {
  return request({
    url: "/home/data",
    params: {
      type,
      page,
    },
  });
}

// const totalNum = []
// const nums = [20,11,25]

// for( let n of nums){
//   totalNum.push(n)
// }

// totalNum.push(...nums)
